﻿using LtMbs;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting.Web;
using System;

namespace HelpdeskPluginTestLibary
{
    
    
    /// <summary>
    ///This is a test class for CaseTest and is intended
    ///to contain all CaseTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CaseTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        [ClassInitialize()]
        public static void MyClassInitialize(TestContext testContext)
        {
        }
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for routeIncidentFromUsersWorkInProgressQueueToSupportQueue
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void routeIncidentFromUsersWorkInProgressQueueToSupportQueueTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
           // KalDev.CustomerFeedbackResults results = target.RetreiveFeedback();

          //  Assert.IsTrue(results.Amount > 1);
           // Assert.IsTrue(results.CustomerFeedbacks[0].FirstName = 
            Guid IncidentToRoute = new Guid(); // TODO: Initialize to an appropriate value
            target.routeIncidentFromUsersWorkInProgressQueueToSupportQueue(IncidentToRoute);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for RetreiveFeedback
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void RetreiveFeedbackTest1()
        {
            Case_Accessor target = new Case_Accessor();
            string lastDateRun = string.Empty; // TODO: Initialize to an appropriate value
           // CustomerFeedbackResults expected = null; // TODO: Initialize to an appropriate value
           // CustomerFeedbackResults actual;
           // actual = target.RetreiveFeedback(lastDateRun);
           // Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for RetreiveFeedback
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void RetreiveFeedbackTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = target.RetreiveFeedback();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for RetreiveEmailAddress
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void RetreiveEmailAddressTest()
        {
            //Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            //activityparty person = null; // TODO: Initialize to an appropriate value
            //string expected = string.Empty; // TODO: Initialize to an appropriate value
            //string actual;
            //actual = target.RetreiveEmailAddress(person);
            //Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for RetreiveCustomer
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void RetreiveCustomerTest1()
        {
        //    Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
        //    string emailAddress = string.Empty; // TODO: Initialize to an appropriate value
        //    CustomerFeedback sourceFeedbackEntry = null; // TODO: Initialize to an appropriate value
        //    Customer expected = null; // TODO: Initialize to an appropriate value
        //    Customer actual;
        //    actual = target.RetreiveCustomer(emailAddress, sourceFeedbackEntry);
        //    Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for RetreiveCustomer
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void RetreiveCustomerTest()
        {
            //Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            //Customer expected = null; // TODO: Initialize to an appropriate value
            //Customer actual;
            //actual = target.RetreiveCustomer();
            //Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for retreiveCustomer
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void retreiveCustomerTest()
        {
            //Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            //CustomerFeedback sourceFeedbackEntry = null; // TODO: Initialize to an appropriate value
            //Customer expected = null; // TODO: Initialize to an appropriate value
            //Customer actual;
            //actual = target.retreiveCustomer(sourceFeedbackEntry);
            //Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for LoadEmail
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void LoadEmailTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            Guid emailId = new Guid(); // TODO: Initialize to an appropriate value
            target.LoadEmail(emailId);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for LaunchWorkFlow
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void LaunchWorkFlowTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            string EntityId = string.Empty; // TODO: Initialize to an appropriate value
            string entityType = string.Empty; // TODO: Initialize to an appropriate value
            string workFlowId = string.Empty; // TODO: Initialize to an appropriate value
            target.LaunchWorkFlow(EntityId, entityType, workFlowId);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for EmailOut
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void EmailOutTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            Guid emailId = new Guid(); // TODO: Initialize to an appropriate value
            target.EmailOut(emailId);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for detachEmailFromQueue
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void detachEmailFromQueueTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            Guid EmailId = new Guid(); // TODO: Initialize to an appropriate value
            target.detachEmailFromQueue(EmailId);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for create
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void createTest()
        {
            //Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            //CustomerFeedback feedbackEntryToReCreate = null; // TODO: Initialize to an appropriate value
            //target.create(feedbackEntryToReCreate);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for convertEmail
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void convertEmailTest()
        {
            //Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            //email sourceEmail = null; // TODO: Initialize to an appropriate value
            //string expected = string.Empty; // TODO: Initialize to an appropriate value
            //string actual;
            //actual = target.convertEmail(sourceEmail);
            //Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ConvertCrmEmailIntoIncident
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void ConvertCrmEmailIntoIncidentTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            string CrmEmailId = string.Empty; // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            actual = target.ConvertCrmEmailIntoIncident(CrmEmailId);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for attachActivityToIncident
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void attachActivityToIncidentTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            Guid IncidentId = new Guid(); // TODO: Initialize to an appropriate value
            target.attachActivityToIncident(IncidentId);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for acceptIncident
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void acceptIncidentTest()
        {
            Case_Accessor target = new Case_Accessor(); // TODO: Initialize to an appropriate value
            Guid IncidentId = new Guid(); // TODO: Initialize to an appropriate value
            target.acceptIncident(IncidentId);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Case Constructor
        ///</summary>
        [TestMethod()]
        [HostType("ASP.NET")]
        [AspNetDevelopmentServerHost("C:\\Users\\Rihan\\Documents\\Visual Studio 2008\\Projects\\Kalahari\\WrapperSearchService", "/WrapperSearchService")]
        [UrlToTest("http://localhost/WrapperSearchService")]
        public void CaseConstructorTest()
        {
            Case_Accessor target = new Case_Accessor();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
